Carbon


FillCArc

Header: Quickdraw.h Carbon status: Supported

Fills a wedge with the given pixel pattern, using the patCopy pattern mode.

void FillCArc (
    const Rect *r, 
    SInt16 startAngle, 
    SInt16 arcAngle, 
    PixPatHandle pp
);
Parameter descriptions
r

The rectangle that defines the oval’s boundaries.

startAngle

The angle indicating the start of the arc.

arcAngle

The angle indicating the arc’s extent.

pp

A handle to the PixPat structure for the pixel pattern to be used for the fill.

DISCUSSION

Use the startAngle and arcAngle parameters to define the arc of the wedge. This function ignores the pnPat, pnMode, and bkPat fields of the current graphics port and leaves the pen location unchanged.

SPECIAL CONSIDERATIONS

The FillCArc function may move or purge memory blocks in the application heap; do not call this function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)